<script setup>
import Item from './Item.vue'
import { ref } from 'vue'

const {del, edit, todolist} = defineProps(['del', 'edit', 'todolist'])
</script>

<template>
  <div>
    <Item v-for="item in todolist" :key="item.id" :edit="edit" :item="item" :del="del"></Item>
  </div>
</template>

<style scoped>

</style>
